// import Antd from './configAntD'
import Antd from 'ant-design-vue'
import LegoBricks from 'lego-bricks'
import 'lego-bricks/dist/bundle.css'
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import pinia from './store'
import ColorPicker from './components/ColorPicker.vue'
import IconSwitch from './components/IconSwitch.vue'
import 'ant-design-vue/dist/reset.css'
import './style/index.css'
import 'cropperjs/dist/cropper.css'
import ShadowPicker from './components/ShadowPicker.vue'
import 'nprogress/nprogress.css'
import BackgroundProcesser from './components/background-processer/background-processer.vue'
import './permisstions'

createApp(App)
  .use(Antd)
  .use(router)
  .use(pinia)
  .use(LegoBricks)
  .component('ColorPicker', ColorPicker)
  .component('IconSwitch', IconSwitch)
  .component('ShadowPicker', ShadowPicker)
  .component('BackgroundProcesser', BackgroundProcesser)
  .mount('#app')
